package ooday02;

public class AnimalTest {
    public static void main(String[] args) {
        Chick c = new Chick("小鸡" , 2,"黄");
        c.drink();
        c.eat();
        c.layEggs();

        Dog d = new Dog("小狗" , 4,"白");
        d.eat();
        d.drink();
        d.lookHouse();

        Fish f = new Fish("小金鱼", 1,"金");
        f.eat();
        f.drink();

    }
}
